home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / kernserv / hppa / us_timer.h < prev   
Text File  |  1995-02-14  |  823b  |  36 lines

  1. /* 
  2.  * Copyright (c) 1991 NeXT Computer, Inc.
  3.  *
  4.  * HISTORY
  5.  * 14-May-90  Gregg Kellogg (gk) at NeXT
  6.  *    Created.
  7.  *
  8.  */
  9.  
  10. /*
  11.  *  NOTE:
  12.  *
  13.  *    This file specifies obsolete API.  It is provided for compatibility
  14.  *    only.
  15.  */
  16.  
  17. #ifndef _KERN_INTERNAL_US_TIMER_H
  18. #define    _KERN_INTERNAL_US_TIMER_H
  19.  
  20. #import <mach/boolean.h>
  21. #import <sys/time.h>
  22. #import <mach/mach_types.h>
  23. #import <kernserv/ns_timer.h>
  24.  
  25. #if    KERNEL
  26. void us_timer_init(void);
  27. void us_timeout(func proc, vm_address_t arg, struct timeval *tvp, int pri);
  28. void us_abstimeout(func proc, vm_address_t arg, struct timeval *tvp, int pri);
  29. boolean_t us_untimeout(func proc, vm_address_t arg);
  30. void microtime(struct timeval * tvp);
  31. void microboot(struct timeval * tvp);
  32. void delay(unsigned int n);
  33. void us_delay(unsigned usecs);
  34. #endif    KERNEL
  35. #endif    _KERN_INTERNAL_US_TIMER_H
  36.